﻿
@{
    ViewData["Title"] = "ShowPro";
    Layout = "~/Views/Home/Main.cshtml";
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    @*   <link rel="stylesheet" href="/layui.css"> *@ <!-- 确保layui的CSS路径正确 -->
    <style>
        .form-container {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .layui-form-item {
            margin-bottom: 20px;
        }

            .layui-form-item .layui-inline {
                margin-right: 20px; /* 为每个内联元素添加右边距 */
            }

            .layui-form-item .layui-input-block {
                margin-left: 0; /* 移除单选按钮块的左边距 */
            }

            .layui-form-item:last-child {
                margin-bottom: 0; /* 移除最后一个表单项的底部边距 */
            }

        .layui-btn {
            margin-right: 10px; /* 为提交按钮添加右边距 */
        }
    </style>
</head>
<body>
    <div class="form-container">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <h1>基本信息</h1>
                <div class="layui-inline">
                    <label class="layui-form-label">工艺路线编号</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProcessNo" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">工艺路线名称</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProcessRouteName" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
        </div>
            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>

                <div class="layui-input-inline">

                    <input type="radio" name="State" value="false" title="启用" checked>
                    <input type="radio" name="State" value="true" title="禁用">
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">成品名称</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ProductName" autocomplete="off" lay-verify="required" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">

                <div class="layui-inline">
                    <label class="layui-form-label">创建时间</label>
                    <div class="layui-input-inline">
                        <input type="date" id="CreatedDate" autocomplete="off" lay-verify="required" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">创建人</label>
                    <div class="layui-input-inline">
                        <input type="text" id="CreatedBy" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
               <h1>加入工序</h1>
                <input type="button" value="新增" class="layui-btn layui-bg-blue" id="DeviceTan" />
                <div class="layui-input-block">

                    <div class="layui-input-inline">
                        <input type="text" id="process1" autocomplete="off" lay-verify="required" class="layui-input">
                    </div>
                </div>
            </div>
           
        </form>
        <script src="~/js/Process/ShowPro.js"></script>
    </div>

</body>
</html>

